package com.xq.jltx.javajni;

/**
 * @author jltxseo
 * Created by junlintianxia on 2019/04/21.
 */
public class DataFieldProvider {
    static {
        System.loadLibrary("ndkoperatorjava");
    }

    /**
     * Java类属性
     */
    private String name = "I am from Java";
    /**
     * Java静态属性
     */
    private static String sName = "I am from Java";

    /**
     * 在Native层读取/设置对象的属性值
     */
    public native void onNativeSetName();
    /**
     * 在Native层读取/设置对象的属性值
     */
    public native void onNativeSetStaticName();

    public String getName() {
        return name;
    }

    public static String getsName() {
        return sName;
    }
}
